package com.exchange.interfaces.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.exchange.interfaces.mapper.JgImplementPublishMapper;
import com.exchange.interfaces.domain.JgImplementPublish;
import com.exchange.interfaces.service.IJgImplementPublishService;
import com.exchange.common.core.text.Convert;

/**
 * 数据交换_实施清单 服务层实现
 * 
 * @author exchange
 * @date 2019-06-04
 */
@Service
public class JgImplementPublishServiceImpl implements IJgImplementPublishService 
{
	@Autowired
	private JgImplementPublishMapper jgImplementPublishMapper;

	/**
     * 查询数据交换_实施清单信息
     * 
     * @param implementPublishId 数据交换_实施清单ID
     * @return 数据交换_实施清单信息
     */
    @Override
	public JgImplementPublish selectJgImplementPublishById(String implementPublishId)
	{
	    return jgImplementPublishMapper.selectJgImplementPublishById(implementPublishId);
	}
	
	/**
     * 查询数据交换_实施清单列表
     * 
     * @param jgImplementPublish 数据交换_实施清单信息
     * @return 数据交换_实施清单集合
     */
	@Override
	public List<JgImplementPublish> selectJgImplementPublishList(JgImplementPublish jgImplementPublish)
	{
	    return jgImplementPublishMapper.selectJgImplementPublishList(jgImplementPublish);
	}
	
    /**
     * 新增数据交换_实施清单
     * 
     * @param jgImplementPublish 数据交换_实施清单信息
     * @return 结果
     */
	@Override
	public int insertJgImplementPublish(JgImplementPublish jgImplementPublish)
	{
	    return jgImplementPublishMapper.insertJgImplementPublish(jgImplementPublish);
	}
	
	/**
     * 修改数据交换_实施清单
     * 
     * @param jgImplementPublish 数据交换_实施清单信息
     * @return 结果
     */
	@Override
	public int updateJgImplementPublish(JgImplementPublish jgImplementPublish)
	{
	    return jgImplementPublishMapper.updateJgImplementPublish(jgImplementPublish);
	}

	/**
     * 删除数据交换_实施清单对象
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	@Override
	public int deleteJgImplementPublishByIds(String ids)
	{
		return jgImplementPublishMapper.deleteJgImplementPublishByIds(Convert.toStrArray(ids));
	}
	
}
